package com.buka.api;

import com.buka.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient("order-service")
public interface OrderApi {

    @GetMapping("/api/productOrder/v1/queryState")
    public JsonData queryOrderState(@SpringQueryMap String outTradeNo);
}
